package com.ruoyi.project.cltmanage.charge.service.impl;

import com.ruoyi.project.cltmanage.charge.mapper.ChargeMapper;
import com.ruoyi.project.cltmanage.charge.service.IChargeService;

import com.ruoyi.project.cltmanage.domain.CltCharge;
import org.apache.catalina.util.CharsetMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;
@Service
public class ChargeServiceImpl implements IChargeService {
    @Autowired
    private ChargeMapper chargeMapper;
    @Override
    public List<CltCharge> selectID(String dctOrderId) {
        return chargeMapper.selectID(dctOrderId);
    }



    @Override
    public List<CltCharge> selectCost(Integer cost) {
        return chargeMapper.selectCost(cost);
    }

    @Override
    public List<CltCharge> selectNum(Integer type, String dctOrderId) {
        return chargeMapper.selectNum(type, dctOrderId);
    }

    @Override
    public List<CltCharge> selectOne() {
        return chargeMapper.selectOne();
    }

    @Override
    public int updateCash(String id) {
        return chargeMapper.updateCash(id);
    }

    @Override
    public int updateWeb(String id) {
        return chargeMapper.updateWed(id);
    }


}
